[INFO] fetching crate cargo-trim 0.8.0...
[INFO] testing cargo-trim-0.8.0 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479
[INFO] extracting crate cargo-trim 0.8.0 into /workspace/builds/worker-15/source
[INFO] validating manifest of crates.io crate cargo-trim 0.8.0 on toolchain b70888601af92f6cdc0364abab3446e418b91d36
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cargo-trim 0.8.0
[INFO] finished tweaking crates.io crate cargo-trim 0.8.0
[INFO] tweaked toml for crates.io crate cargo-trim 0.8.0 written to /workspace/builds/worker-15/source/Cargo.toml
[INFO] crate crates.io crate cargo-trim 0.8.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7a5d4e7ca3bea3227e9de266cac15546646ac6f4b4203a3975be9b3a54ab39b6
[INFO] running `Command { std: "docker" "start" "-a" "7a5d4e7ca3bea3227e9de266cac15546646ac6f4b4203a3975be9b3a54ab39b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7a5d4e7ca3bea3227e9de266cac15546646ac6f4b4203a3975be9b3a54ab39b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7a5d4e7ca3bea3227e9de266cac15546646ac6f4b4203a3975be9b3a54ab39b6", kill_on_drop: false }`
[INFO] [stdout] 7a5d4e7ca3bea3227e9de266cac15546646ac6f4b4203a3975be9b3a54ab39b6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1f8f44ecca675deb5b394d862e1fa9520f639cc75d7f0083821d042219bf64a0
[INFO] running `Command { std: "docker" "start" "-a" "1f8f44ecca675deb5b394d862e1fa9520f639cc75d7f0083821d042219bf64a0", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling syn v1.0.73
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling anyhow v1.0.42
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling semver v1.0.3
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling term_size v0.3.2
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling colored v2.0.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling structopt-derive v0.4.15
[INFO] [stderr]    Compiling structopt v0.3.22
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling cargo-trim v0.8.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 43.26s
[INFO] running `Command { std: "docker" "inspect" "1f8f44ecca675deb5b394d862e1fa9520f639cc75d7f0083821d042219bf64a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f8f44ecca675deb5b394d862e1fa9520f639cc75d7f0083821d042219bf64a0", kill_on_drop: false }`
[INFO] [stdout] 1f8f44ecca675deb5b394d862e1fa9520f639cc75d7f0083821d042219bf64a0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 24f356706745b1ba8287370eb601fb18102189f05d7f9f5146f5e96d9beb7b4e
[INFO] running `Command { std: "docker" "start" "-a" "24f356706745b1ba8287370eb601fb18102189f05d7f9f5146f5e96d9beb7b4e", kill_on_drop: false }`
[INFO] [stderr]    Compiling cargo-trim v0.8.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.65s
[INFO] running `Command { std: "docker" "inspect" "24f356706745b1ba8287370eb601fb18102189f05d7f9f5146f5e96d9beb7b4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24f356706745b1ba8287370eb601fb18102189f05d7f9f5146f5e96d9beb7b4e", kill_on_drop: false }`
[INFO] [stdout] 24f356706745b1ba8287370eb601fb18102189f05d7f9f5146f5e96d9beb7b4e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0372829c5b03f20077a5c38cf5ecb13ec139b618d31dfa40d6c4ddcf1cd6fab7
[INFO] running `Command { std: "docker" "start" "-a" "0372829c5b03f20077a5c38cf5ecb13ec139b618d31dfa40d6c4ddcf1cd6fab7", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests (/opt/rustwide/target/debug/deps/cargo_trim-766fa28b3f8fcc3b)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test crate_detail::test::test_add_crate_to_hashmap ... ok
[INFO] [stderr]      Running tests/command_output.rs (/opt/rustwide/target/debug/deps/command_output-1f9c3dd62495ccf3)
[INFO] [stdout] test crate_detail::test::test_get_hashmap_crate_size ... ok
[INFO] [stdout] test utils::test::test_convert_pretty ... ok
[INFO] [stdout] test utils::test::test_clear_version_value ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running `/opt/rustwide/target/debug/cargo-trim trim help`
[INFO] [stdout] cargo-trim 0.8.0
[INFO] [stdout] Saurav Sharma <appdroiddeveloper@gmail.com>
[INFO] [stdout] Binary application to cleanup $CARGO_HOME cache
[INFO] [stdout] 
[INFO] [stdout] USAGE:
[INFO] [stdout]     cargo-trim [FLAGS] [OPTIONS] [SUBCOMMAND]
[INFO] [stdout] 
[INFO] [stdout] FLAGS:
[INFO] [stdout]     -a, --all           Clean up all registry & git crates
[INFO] [stdout]     -n, --dry-run       Run command in dry run mode to see what would be done
[INFO] [stdout]     -h, --help          Prints help information
[INFO] [stdout]     -l, --light         Light cleanup repo by removing git checkout and registry source but stores git db and registry
[INFO] [stdout]                         archive for future compilation without internet requirement
[INFO] [stdout]     -o, --old           Clean old cache crates
[INFO] [stdout]     -z, --old-orphan    Clean crates which is both old and orphan
[INFO] [stdout]     -x, --orphan        Clean orphan cache crates i.e all crates which are not present in lock file generated till now
[INFO] [stdout]                         use cargo trim -u to guarantee your all project generate lock file
[INFO] [stdout]     -q, --query         Return size of different .cargo/cache folders
[INFO] [stdout]     -u, --update        Generate and Update Cargo.lock file present inside config directory folder path
[INFO] [stdout]     -V, --version       Prints version information
[INFO] [stdout] 
[INFO] [stdout] OPTIONS:
[INFO] [stdout]     -g, --gc <git-compress>    Git compress to reduce size of .cargo [possible values: all, index, git, git-checkout,
[INFO] [stdout]                                git-db]
[INFO] [stdout]     -r, --remove <crate>...    Remove provided crates from registry or git
[INFO] [stdout]     -t, --top <number>         Show certain number of top crates which have highest size
[INFO] [stdout]     -w, --wipe <folder>...     Wipe folder [possible values: git, checkouts, db, registry, cache, index, index-cache,
[INFO] [stdout]                                src]
[INFO] [stdout] 
[INFO] [stdout] SUBCOMMANDS:
[INFO] [stdout]     clear       Clear current working directory from cargo cache config
[INFO] [stdout]     config      Query about config file data used by CLI
[INFO] [stdout]     git         Perform operation only to git related cache file
[INFO] [stdout]     help        Prints this message or the help of the given subcommand(s)
[INFO] [stdout]     init        Initialize current working directory as cargo trim directory
[INFO] [stdout]     list        List out crates
[INFO] [stdout]     registry    Perform operation only to registry related cache file
[INFO] [stdout]     set         Set config file values
[INFO] [stdout]     unset       Unset values from config file
[INFO] [stdout] test test_help ... ok
[INFO] [stderr]     Blocking waiting for file lock on build directory
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running `/opt/rustwide/target/debug/cargo-trim trim help registry`
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]     Blocking waiting for file lock on build directory
[INFO] [stdout] cargo-trim-registry 0.8.0
[INFO] [stdout] Perform operation only to registry related cache file
[INFO] [stdout] 
[INFO] [stdout] USAGE:
[INFO] [stdout]     cargo-trim registry [FLAGS] [OPTIONS]
[INFO] [stdout] 
[INFO] [stdout] FLAGS:
[INFO] [stdout]     -a, --all           Clean up all registry crates
[INFO] [stdout]     -n, --dry-run       Run command in dry run mode to see what would be done
[INFO] [stdout]     -h, --help          Prints help information
[INFO] [stdout]     -l, --light         Light cleanup repo by removing registry source but stores registry archive for future
[INFO] [stdout]                         compilation
[INFO] [stdout]     -o, --old           Clean old registry cache crates
[INFO] [stdout]     -z, --old-orphan    Clean registry crates which is both old and orphan
[INFO] [stdout]     -x, --orphan        Clean orphan cache registry crates i.e all crates which are not present in lock file generated
[INFO] [stdout]                         till now use cargo trim -u to guarantee your all project generate lock file
[INFO] [stdout]     -q, --query         Return size of different .cargo/registry cache folders
[INFO] [stdout]     -V, --version       Prints version information
[INFO] [stdout] 
[INFO] [stdout] OPTIONS:
[INFO] [stdout]     -r, --remove <crate>...    Remove provided crates from registry
[INFO] [stdout]     -t, --top <number>         Show certain number of top crates which have highest size
[INFO] [stdout] test test_registry_help ... ok
[INFO] [stdout] cargo-trim-git 0.8.0
[INFO] [stdout] Perform operation only to git related cache file
[INFO] [stdout] 
[INFO] [stdout] USAGE:
[INFO] [stdout]     cargo-trim git [FLAGS] [OPTIONS]
[INFO] [stdout] 
[INFO] [stdout] FLAGS:
[INFO] [stdout]     -a, --all           Clean up all git crates
[INFO] [stdout]     -n, --dry-run       Run command in dry run mode to see what would be done
[INFO] [stdout]     -h, --help          Prints help information
[INFO] [stdout]     -l, --light         Light cleanup repo by removing git checkout but stores git db for future compilation
[INFO] [stdout]     -o, --old           Clean old git cache crates
[INFO] [stdout]     -z, --old-orphan    Clean git crates which is both old and orphan
[INFO] [stdout]     -x, --orphan        Clean orphan cache git crates i.e all crates which are not present in lock file generated till
[INFO] [stdout]                         now use cargo trim -u to guarantee your all project generate lock file
[INFO] [stdout]     -q, --query         Return size of different .cargo/git cache folders
[INFO] [stdout]     -V, --version       Prints version information
[INFO] [stdout] 
[INFO] [stdout] OPTIONS:
[INFO] [stdout]     -r, --remove <crate>...    Remove provided crates from git
[INFO] [stdout]     -t, --top <number>         Show certain number of top crates which have highest size
[INFO] [stderr]      Running `/opt/rustwide/target/debug/cargo-trim trim help git`
[INFO] [stderr]     Blocking waiting for file lock on build directory
[INFO] [stderr]     Blocking waiting for file lock on build directory
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stdout] test test_git_help ... ok
[INFO] [stderr]      Running `/opt/rustwide/target/debug/cargo-trim trim help set`
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stdout] cargo-trim-set 0.8.0
[INFO] [stdout] Set config file values
[INFO] [stdout] 
[INFO] [stdout] USAGE:
[INFO] [stdout]     cargo-trim set [FLAGS] [OPTIONS]
[INFO] [stdout] 
[INFO] [stdout] FLAGS:
[INFO] [stdout]     -n, --dry-run               Run command in dry run mode to see what would be done
[INFO] [stdout]     -h, --help                  Prints help information
[INFO] [stdout]         --scan-hidden-folder    Set scan hidden folder as true
[INFO] [stdout]         --scan-target-folder    Set scan hidden folder as true
[INFO] [stdout]     -V, --version               Prints version information
[INFO] [stdout] 
[INFO] [stdout] OPTIONS:
[INFO] [stdout]     -d, --directory <directory>...    Set directory of Rust project
[INFO] [stdout]     -i, --ignore <file>...            Add file name/directory name to ignore list in configuration file which are
[INFO] [stdout]                                       ignored while scanning Cargo.toml file
[INFO] [stdout] test test_set_help ... ok
[INFO] [stderr]     Blocking waiting for file lock on build directory
[INFO] [stderr]      Running `/opt/rustwide/target/debug/cargo-trim trim help list`
[INFO] [stdout] cargo-trim-list 0.8.0
[INFO] [stdout] List out crates
[INFO] [stdout] 
[INFO] [stdout] USAGE:
[INFO] [stdout]     cargo-trim list [FLAGS]
[INFO] [stdout] 
[INFO] [stdout] FLAGS:
[INFO] [stdout]     -a, --all           List out all installed crate
[INFO] [stdout]     -h, --help          Prints help information
[INFO] [stdout]     -o, --old           List out old crates
[INFO] [stdout]     -z, --old-orphan    List out crates which are both old and orphan
[INFO] [stdout]     -x, --orphan        List out orphan crates
[INFO] [stdout]     -u, --used          List out used crates
[INFO] [stdout]     -V, --version       Prints version information
[INFO] [stdout] test test_list_help ... ok
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running `/opt/rustwide/target/debug/cargo-trim trim help config`
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running `/opt/rustwide/target/debug/cargo-trim trim help unset`
[INFO] [stdout] cargo-trim-unset 0.8.0
[INFO] [stdout] Unset values from config file
[INFO] [stdout] 
[INFO] [stdout] USAGE:
[INFO] [stdout]     cargo-trim unset [FLAGS] [OPTIONS]
[INFO] [stdout] 
[INFO] [stdout] FLAGS:
[INFO] [stdout]     -n, --dry-run               Run command in dry run mode to see what would be done
[INFO] [stdout]     -h, --help                  Prints help information
[INFO] [stdout]         --scan-hidden-folder    Set scan hidden folder as false
[INFO] [stdout]         --scan-target-folder    Set scan hidden folder as false
[INFO] [stdout]     -V, --version               Prints version information
[INFO] [stdout] 
[INFO] [stdout] OPTIONS:
[INFO] [stdout]     -d, --directory <directory>...    Directory to be removed from config file
[INFO] [stdout]     -i, --ignore <file>...            Ignore file name to be removed from config file
[INFO] [stdout] test test_unset_help ... ok
[INFO] [stdout] cargo-trim-config 0.8.0
[INFO] [stdout] Query about config file data used by CLI
[INFO] [stdout] 
[INFO] [stdout] USAGE:
[INFO] [stdout]     cargo-trim config [FLAGS]
[INFO] [stdout] 
[INFO] [stdout] FLAGS:
[INFO] [stdout]     -d, --directory    Query about directory data
[INFO] [stdout]     -h, --help         Prints help information
[INFO] [stdout]     -i, --ignore       Query about ignored file name data
[INFO] [stdout]     -l, --location     Return config file location
[INFO] [stdout]     -p, --print        Display config file content
[INFO] [stdout]     -V, --version      Prints version information
[INFO] [stdout] test test_config_help ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0372829c5b03f20077a5c38cf5ecb13ec139b618d31dfa40d6c4ddcf1cd6fab7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0372829c5b03f20077a5c38cf5ecb13ec139b618d31dfa40d6c4ddcf1cd6fab7", kill_on_drop: false }`
[INFO] [stdout] 0372829c5b03f20077a5c38cf5ecb13ec139b618d31dfa40d6c4ddcf1cd6fab7
